import demo01.Computer;
import demo01.KeyBoard;
import demo01.Mouse;

public class Main {
    public static void main1(String[] args) {
        Computer computer = new Computer();
        computer.powerOn();
        computer.useDevice(new Mouse());
        computer.useDevice(new KeyBoard());
//        computer.powerOff();
    }
}